/**
 * 
 */
package com.epam.training.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import com.epam.training.domain.BookingItem;

/**
 * @author Bogdan
 *
 */
@Transactional
public interface BookingItemRepository extends
		JpaRepository<BookingItem, Integer> {
	
	@Transactional(timeout = 10)
	List<BookingItem> findByCustomerLogin(String login);
}
